﻿namespace MicroCloud.Systems.Data
{
    /// <summary>
    /// 文件记录类型
    /// </summary>
    [Description("文件记录类型")]
    public enum FileActionType
    {
        /// <summary>
        /// 上传
        /// </summary>
        [Description("上传")]
        Upload = 1,

        /// <summary>
        /// 下载
        /// </summary>
        [Description("下载")]
        Download = 2,

        /// <summary>
        /// 删除
        /// </summary>
        [Description("删除")]
        Delete = 3,

        /// <summary>
        /// 更新
        /// </summary>
        [Description("更新")]
        Update = 4,

        /// <summary>
        /// 复制
        /// </summary>
        [Description("复制")]
        Copy = 5,

        /// <summary>
        /// 迁移
        /// </summary>
        [Description("迁移")]
        Move = 6,
    }

    /// <summary>
    /// 文件存储分组
    /// </summary>
    [Description("文件存储分组")]
    public enum FileStoreGroup
    {
        /// <summary>
        /// 不分组
        /// </summary>
        [Description("不分组")]
        NoGroup = 1,
        /// <summary>
        /// 按年度分组
        /// </summary>
        [Description("按年度分组")]
        ByYear = 2,
        /// <summary>
        /// 按年度月度分组
        /// </summary>
        [Description("按年度月度分组")]
        ByYearMonth = 3,
        /// <summary>
        /// 按年月日分组
        /// </summary>
        [Description("按年月日分组")]
        ByYearMonthDay = 4,
    }
}
